﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;

namespace RaisingStudio.Data.Entities
{
    /// <summary>
    /// Line.
    /// </summary>
    [Serializable]
#if ATTRIBUTE_MAPPING
    [DataTable("DAC_LINE")]
#else
    [RaisingStudio.Data.DefinitionName("Line")]
#endif
    partial class Line
    {
        #region Members
		
		private int _PointID;
		/// <summary>
		/// PointID.
		/// </summary>
		[System.ComponentModel.Description("PointID")]
#if ATTRIBUTE_MAPPING
        [DataColumn("POINT_ID", IsPrimaryKey = true, AutoIncrement = true)]
#endif
        public int PointID
		{
			get 
			{
				return this._PointID;
			}
			set 
			{
				this._PointID = value;
			}
		}

		private Point? _Point;
		/// <summary>
		/// Point.
		/// </summary>
		[System.ComponentModel.Description("Point")]
#if ATTRIBUTE_MAPPING
        [DataColumn("POINT", DbType = DbType.String)]
#endif
        public Point? Point
		{
			get 
			{
				return this._Point;
			}
			set 
			{
				this._Point = value;
			}
		}

		#endregion
    }
}
